﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BulletinShow.aspx.cs" Inherits="AlbonWeb.Manager.BulletinManager.BulletinShow" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Bulletin Message</title>
    <link href="/css/dialog.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div class="blockName">
        <asp:Repeater ID="repMain" runat="server">
            <ItemTemplate>
                <fieldset>
                    <legend>
                        <div class="title">
                            <%#Eval("title")%></div>
                    </legend>
                    <div class="content">
                        <%#Eval("content") %></div>
                    <legend><b>Add Date:
                        <%#Eval("createDate") %></b> </legend>
                </fieldset>
            </ItemTemplate>
        </asp:Repeater>
        <fieldset>
            <div style="text-align:center">
                <webdiyer:AspNetPager ID="AspNetPager1" runat="server" FirstPageText="First" LastPageText="Last"
                    NextPageText="Next" PageIndexBoxType="DropDownList" PrevPageText="Prev" ShowBoxThreshold="15"
                    ShowCustomInfoSection="Left" ShowMoreButtons="False" SubmitButtonText="Go" TextAfterPageIndexBox=""
                    TextBeforePageIndexBox="Goto" CustomInfoClass="pageinfo" CustomInfoHTML="Current Page : %CurrentPageIndex%    Total Page: %PageCount%"
                    CustomInfoSectionWidth="30%" CustomInfoTextAlign="Left" OnPageChanging="AspNetPager1_PageChanging"
                    PageSize="2">
                </webdiyer:AspNetPager>
                <asp:Button ID="showOthers" runat="server" Style="font-size: 11px" Text="View All Other Bulletins"
                    OnClick="showOthers_Click" />
            </div>
        </fieldset>
    </div>
    </form>
</body>
</html>
